package com.jsle.financial.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 公司实体
 * @author hp
 *
 */
public class Company implements Serializable {
	private static final long serialVersionUID = -1411932844153827939L;
	private Integer id;//id自增
	private String companyCode;//公司代码
	private String companyName;//公司名称
	private Date createTime; //创建时间
	private Date updateTime;//修改时间
	private Integer isActive=1;//是否有效,默认为1有效,0为无效
	
	private List<Company_Resources> crs = new ArrayList<Company_Resources>();
	
	public List<Company_Resources> getCrs() {
		return crs;
	}

	public void setCrs(List<Company_Resources> crs) {
		this.crs = crs;
	}

	public Company() {
		// TODO Auto-generated constructor stub
	}
	
	public Company(String companyName){
		this.companyName = companyName;
	} 
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the companyCode
	 */
	public String getCompanyCode() {
		return companyCode;
	}
	/**
	 * @param companyCode the companyCode to set
	 */
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * @return the isActive
	 */
	public Integer getIsActive() {
		return isActive;
	}
	/**
	 * @param isActive the isActive to set
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * @return the compangyName
	 */
	public String getCompanyName() {
		return companyName;
	}
	/**
	 * @param compangyName the compangyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
}
